<?php
/* [$WindsForce] (C)Hunzhiwange.COM Since 2014.07.02.
   家居企业工商认证照片模型($$)*/

!defined('Q_PATH') && exit;

class JiajucompanyverifyimgModel extends CommonModel{

	static public function init__(){
		return array(
			'table_name'=>'jiajucompanyverifyimg',
			'check'=>array(
				'jiajucompanyverifyimg_file'=>array(
					array('require',Q::L('荣誉证书图片地址不能为空','__APPJIAJU_COMMON_LANG__@Model')),
					array('max_length',100,Q::L('荣誉证书图片地址不能超过100个字符','__APPJIAJU_COMMON_LANG__@Model')),
				),
			),
		);
	}

	static function F(){
		$arrArgs=func_get_args();
		return ModelMeta::instance(__CLASS__)->findByArgs($arrArgs);
	}

	static function M(){
		return ModelMeta::instance(__CLASS__);
	}

	protected function beforeSave_(){
		$this->jiajucompanyverifyimg_file=C::text($this->jiajucompanyverifyimg_file);
	}

}
